package com.jzo2o.market.model.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Null;

@Data
@ApiModel("用户端优惠券查询模型")
public class CouponConsumerReqDTO {
    @ApiModelProperty(value = "上次查询最后一次优惠券id", required = true)
    private Integer lastId;

    @ApiModelProperty(value = "状态id", required = true)
    @Null(message = "请先选择状态")
    private Integer status;
}
